#!/usr/bin/node

console.log('03-pid is :', process.pid);

//自定义的外部程序

setInterval(() => {
  console.log(Date.now());
}, 1000);

setTimeout(() => {
  process.exit();
}, 10000);

